package com.program.facesigninsystem.entity;

import com.fasterxml.jackson.annotation.JsonInclude;
import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;

/**
 * @author sxw
 */
@Setter
@Getter
@JsonInclude(JsonInclude.Include.NON_EMPTY)
public class User implements Serializable {
    private static final long serialVersionUID = 1L;

    private String uid;
    private String ip;
    private String loginTime;
    private String errorCounts;
    private String nextLogin;

    public User(String uid, String ip, String loginTime, String errorCounts, String nextLogin) {
        this.uid = uid;
        this.ip = ip;
        this.loginTime = loginTime;
        this.errorCounts = errorCounts;
        this.nextLogin = nextLogin;
    }
}
